<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><{t}>码单详细<{/t}></title>

</head>
<style type="text/css">
    body{
        background:#f9f9f9;
    }
    .hr_head{
        border: 1px solid #efefef;
    }
    .container{
        margin-top: 20px;
        width: 80%;
        min-width: 800px;
        margin-left: auto;
        margin-right: auto;
        background: #fff;
        min-height: 400px;
        overflow: visible;
        padding: 10px 20px 20px 20px;
    }
    .container table{ 
        width: 100%;
        font: 16px/1.5 Tahoma, Helvetica, Arial, STXihei, SimSun, sans-serif;
        color: #444;
        border-collapse: collapse;
    }
    .container table th{
        border: 1px solid #dedede;
        height: 32px;
        text-align:left;
        padding: 5px 10px 4px 10px;
        border-bottom: 2px solid #dedede;
    } 
    .container table td{
        text-align:left;
        border: 1px solid #dedede;
        padding: 5px 10px 4px 10px;
    } 
</style>
<body>
<div class="container"><table width="200" border="1">
 <{foreach from=$row key=key item=item}>
  <tr>
    <td colspan="5"><div align="center">Packing List</div></td>
 </tr>
 <tr>
    <td><div align="center">Article:</div></td>
    <td colspan="4"><div align="left"><{$item.0.article|default:''}></div></td>
 </tr>
 <tr>
    <td><div align="center">Pattern No:</div></td>
    <td colspan="4"><div align="left"><{$item.0.product.productId|default:''}></div></td>
    </tr>
<tr>
    <td><div align="center">Construction:</div></td>
    <td colspan="4"><div align="left"><{$item.0.product.construction|default:''}></div></td>
    </tr>
<tr>
    <td><div align="center">Composition:</div></td>
    <td colspan="4"><div align="left"><{$item.0.composition|default:''}></div></td>
    </tr>
<tr>
    <td><div align="center">GSM:</div></td>
    <td colspan="4"><div align="left"><{$item.0.gsm|default:''}></div></td>
    </tr>
  <tr>
    <td><div align="center">Mill No:</div></td>
    <td colspan="4"><div align="left"><{$item.0.millNo|default:''}></div></td>
  </tr>
  <tr>
    <td><div align="center">Bale No:</div></td>
    <td colspan="3">Qty:(M) Of Each Bale</td>
    <td width="23%"><div align="center">Total(M)</div></td>
    </tr>
  <{foreach from=$item item=it}>
  <tr>
    <td><div align="center"><{$it.qrcode|default:''}></div></td>
    <td width="15%"><div align="right">Roll:<{$it.rollNo|default:''}></div></td>
    <td width="19%"><{$it.cnt|default:''}></td>
    <td width="11%"><{$it.kuqu|default:''}></td>
    <td style="border-bottom: none;"><{$it.summadan|default:''}></td>
  </tr>
    <{/foreach}>
    <{/foreach}>
   <tr>
    <td><div align="center">Total:</div></td>
    <td><div align="left"><{$total_juan|default:''}></div><td>
    <td></td>
    <td><div align="left"><{$item.0.sumzong|default:''}></div></td>
   </tr>
</table>
</div>
</body>
</html>
